﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KPIS.GERP.Models
{
    public class command_daemon
    {
        public hrm_ps_commands Command { get; set; }
        public bool IsExecuted { get; set; }
        public List<QueryByCommand> QueryStringOnStart { get; set; }
        public List<QueryByCommand> QueryStringOnExecute { get; set; }

        public DateTime? ExecutedOn { get; set; } 
    }

    public class QueryByCommand
    {
        public string QueryString { get; set; }
        public Dictionary<string, object> Params { get; set; }
    }
}
